﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace StatsData.Data.Migrations
{
    public partial class add_sn_wip_test_record_time_record : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<decimal>(
                name: "NG_TEST_TIME",
                table: "T_WIP_SN_TEST_STATIS_RECORD",
                type: "NUMBER(18,6)",
                precision: 18,
                scale: 6,
                nullable: false,
                defaultValue: 0m);

            migrationBuilder.AddColumn<string>(
                name: "TEST_TIME_RECORD",
                table: "T_WIP_SN_TEST_STATIS_RECORD",
                type: "NVARCHAR2(400)",
                maxLength: 400,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "NG_TEST_TIME",
                table: "T_WIP_SN_TEST_STATIS_RECORD");

            migrationBuilder.DropColumn(
                name: "TEST_TIME_RECORD",
                table: "T_WIP_SN_TEST_STATIS_RECORD");
        }
    }
}
